﻿@model PhotoGallery.Models.AlbumInfoModel

@{
    ViewData["Title"] = "删除";
}


<h3>您是否确认删除该记录?</h3>
<div>
    <h4>@ViewData["Title"]</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Id)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Id)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Name)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Name)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Description)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Description)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.AlbumType)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.AlbumType)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.AlbumPath)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.AlbumPath)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.CoverPhoto)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CoverPhoto)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IsPublic)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IsPublic)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Password)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Password)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.CreateDate)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CreateDate)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Owner)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Owner)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="submit" value="删除" class="btn btn-default" /> |
        <a asp-action="Index" class="btn btn-primary">返回</a>
    </form>
</div>
